﻿<?xml version="1.0" encoding="utf-8"?>
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.1">
    <CommandSet xml:lang="en-us">
        <CommandPrefix> Voice Snap </CommandPrefix>
        <Example> take a picture </Example>

        <Command Name="VoiceSnap">
            <Example> take a picture </Example>
            <ListenFor> take [a] {PhotoWord} </ListenFor>
            <ListenFor> take [a] {PhotoWord} of {PhotoTag} </ListenFor>
            <Feedback> Let's take a picture </Feedback>
            <Navigate Target="MainPage"/>
        </Command>

        <Command Name="ViewPicture">
            <Example> show my photos </Example>
            <ListenFor> show my {PhotoWord} </ListenFor>
            <ListenFor> show [me] [a] {PhotoWord} of {PhotoTag} </ListenFor>
            <Feedback> Showing {PhotoWord} </Feedback>
            <Navigate Target="ShowMe"/>
        </Command>

        <PhraseList Label="PhotoWord">
            <Item> photo </Item>
            <Item> photos </Item>
            <Item> picture </Item>
            <Item> pictures </Item>
            <Item> Snapshot </Item>
            <Item> Image </Item>
            <Item> Portrait </Item>
            <Item> Photograph </Item>
        </PhraseList>

        <PhraseTopic Label="PhotoTag" Scenario="Search"/>

    </CommandSet>
</VoiceCommands>